﻿using Microsoft.AspNetCore.Mvc;

namespace AdminBase.Model
{
    /// <summary>
    /// 角色查询参数
    /// </summary>
    public class RolesQueryParam
    {
        /// <summary>
        /// 关键词，查询角色名和描述
        /// </summary>
        [FromQuery(Name = "search")]
        public string? KeyWord { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        [FromQuery(Name = "isEnable")]
        public bool? IsEnable { get; set; }

    }
}
